package com.example.demo.ykj.rainfall.pojo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import io.swagger.annotations.ApiModel;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

/**
 * @author zjq
 * @version 创建时间：2021-12-17 16:02:16
 */
@Getter
@Setter
@EqualsAndHashCode
@HeadRowHeight(20) // 设置表头 高度 为 20
@ColumnWidth(25) // 列宽15
@ApiModel(value = "导出的水利雨量数据")
public class ExportRainfall {

    @ExcelProperty(index = 0, value = "日期（YYYYmmDDHH）")
    private String day;

    @ExcelProperty(index = 1, value = "雨量总数")
    private String total;
}